package com.campus;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

@org.springframework.boot.autoconfigure.SpringBootApplication //启动类注解
@MapperScan("com.campus.mapper") //扫描mapper
@EnableSwagger2WebMvc
public class SpringBootApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootApplication.class,args);
    }

}
